package com.qfedu.fmmall.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "product_comments")
public class ProductComments {
    /**
     * ID
     */
    @Id
    @Column(name = "comm_id")
    private String commId;

    /**
     * ???id
     */
    @Column(name = "product_id")
    private String productId;

    /**
     * ???????
     */
    @Column(name = "product_name")
    private String productName;

    /**
     * ??????(???????)ID ?????
     */
    @Column(name = "order_item_id")
    private String orderItemId;

    /**
     * ???????id ???????????
     */
    @Column(name = "user_id")
    private String userId;

    /**
     * ?????????1:???0:??
     */
    @Column(name = "is_anonymous")
    private Integer isAnonymous;

    /**
     * ?????????1??????0??????-1??????
     */
    @Column(name = "comm_type")
    private Integer commType;

    /**
     * ?????? 1?????? 2?????? 3??????
     */
    @Column(name = "comm_level")
    private Integer commLevel;

    /**
     * ????????
     */
    @Column(name = "comm_content")
    private String commContent;

    /**
     * ??????(JSON {img1:url1,img2:url2}  )
     */
    @Column(name = "comm_imgs")
    private String commImgs;

    /**
     * ??????? ?????
     */
    @Column(name = "sepc_name")
    private Date sepcName;

    /**
     * ???????0:δ?????1:??????
     */
    @Column(name = "reply_status")
    private Integer replyStatus;

    /**
     * ???????
     */
    @Column(name = "reply_content")
    private String replyContent;

    /**
     * ??????
     */
    @Column(name = "reply_time")
    private Date replyTime;

    /**
     * ????????1:???0:??
     */
    @Column(name = "is_show")
    private Integer isShow;

    /**
     * ???ID
     *
     * @return comm_id - ID
     */
    public String getCommId() {
        return commId;
    }

    /**
     * ????ID
     *
     * @param commId ID
     */
    public void setCommId(String commId) {
        this.commId = commId;
    }

    /**
     * ??????id
     *
     * @return product_id - ???id
     */
    public String getProductId() {
        return productId;
    }

    /**
     * ???????id
     *
     * @param productId ???id
     */
    public void setProductId(String productId) {
        this.productId = productId;
    }

    /**
     * ??????????
     *
     * @return product_name - ???????
     */
    public String getProductName() {
        return productName;
    }

    /**
     * ???????????
     *
     * @param productName ???????
     */
    public void setProductName(String productName) {
        this.productName = productName;
    }

    /**
     * ?????????(???????)ID ?????
     *
     * @return order_item_id - ??????(???????)ID ?????
     */
    public String getOrderItemId() {
        return orderItemId;
    }

    /**
     * ?????????(???????)ID ?????
     *
     * @param orderItemId ??????(???????)ID ?????
     */
    public void setOrderItemId(String orderItemId) {
        this.orderItemId = orderItemId;
    }

    /**
     * ??????????id ???????????
     *
     * @return user_id - ???????id ???????????
     */
    public String getUserId() {
        return userId;
    }

    /**
     * ???????????id ???????????
     *
     * @param userId ???????id ???????????
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * ????????????1:???0:??
     *
     * @return is_anonymous - ?????????1:???0:??
     */
    public Integer getIsAnonymous() {
        return isAnonymous;
    }

    /**
     * ?????????????1:???0:??
     *
     * @param isAnonymous ?????????1:???0:??
     */
    public void setIsAnonymous(Integer isAnonymous) {
        this.isAnonymous = isAnonymous;
    }

    /**
     * ????????????1??????0??????-1??????
     *
     * @return comm_type - ?????????1??????0??????-1??????
     */
    public Integer getCommType() {
        return commType;
    }

    /**
     * ?????????????1??????0??????-1??????
     *
     * @param commType ?????????1??????0??????-1??????
     */
    public void setCommType(Integer commType) {
        this.commType = commType;
    }

    /**
     * ????????? 1?????? 2?????? 3??????
     *
     * @return comm_level - ?????? 1?????? 2?????? 3??????
     */
    public Integer getCommLevel() {
        return commLevel;
    }

    /**
     * ?????????? 1?????? 2?????? 3??????
     *
     * @param commLevel ?????? 1?????? 2?????? 3??????
     */
    public void setCommLevel(Integer commLevel) {
        this.commLevel = commLevel;
    }

    /**
     * ???????????
     *
     * @return comm_content - ????????
     */
    public String getCommContent() {
        return commContent;
    }

    /**
     * ????????????
     *
     * @param commContent ????????
     */
    public void setCommContent(String commContent) {
        this.commContent = commContent;
    }

    /**
     * ?????????(JSON {img1:url1,img2:url2}  )
     *
     * @return comm_imgs - ??????(JSON {img1:url1,img2:url2}  )
     */
    public String getCommImgs() {
        return commImgs;
    }

    /**
     * ??????????(JSON {img1:url1,img2:url2}  )
     *
     * @param commImgs ??????(JSON {img1:url1,img2:url2}  )
     */
    public void setCommImgs(String commImgs) {
        this.commImgs = commImgs;
    }

    /**
     * ?????????? ?????
     *
     * @return sepc_name - ??????? ?????
     */
    public Date getSepcName() {
        return sepcName;
    }

    /**
     * ??????????? ?????
     *
     * @param sepcName ??????? ?????
     */
    public void setSepcName(Date sepcName) {
        this.sepcName = sepcName;
    }

    /**
     * ??????????0:δ?????1:??????
     *
     * @return reply_status - ???????0:δ?????1:??????
     */
    public Integer getReplyStatus() {
        return replyStatus;
    }

    /**
     * ???????????0:δ?????1:??????
     *
     * @param replyStatus ???????0:δ?????1:??????
     */
    public void setReplyStatus(Integer replyStatus) {
        this.replyStatus = replyStatus;
    }

    /**
     * ??????????
     *
     * @return reply_content - ???????
     */
    public String getReplyContent() {
        return replyContent;
    }

    /**
     * ??????????
     *
     * @param replyContent ???????
     */
    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    /**
     * ?????????
     *
     * @return reply_time - ??????
     */
    public Date getReplyTime() {
        return replyTime;
    }

    /**
     * ?????????
     *
     * @param replyTime ??????
     */
    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }

    /**
     * ???????????1:???0:??
     *
     * @return is_show - ????????1:???0:??
     */
    public Integer getIsShow() {
        return isShow;
    }

    /**
     * ????????????1:???0:??
     *
     * @param isShow ????????1:???0:??
     */
    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }
}